#include "GBAUT.h"
#include "Terminal8PtGBAFont.h"
#include "OldEnglishTextMT14PtGBAFont.h"
//#include "Kredit36PtGBAFont.h"

int main()
{
	UInt i;
	UInt8* saveMem = ((UInt8*)0x0E000000);
	saveMem[0] = 1;
	saveMem[1] = 1;

	for (i = 2; i < 20; i++)
		saveMem[i] = saveMem[i-1] + saveMem[i-2];
	

	// Use video mode 3, and activate background 2
	*(UInt32*)0x04000000 = 0x00000403;

	static const struct ASCIIFont* terminal8Pt = (struct ASCIIFont*)terminal8PtFont;
	static const struct ASCIIFont* oldEnglishTextMT14Pt = (struct ASCIIFont*)oldEnglishTextMT14PtFont;
	//static const struct ASCIIFont* kredit36Pt = (struct ASCIIFont*)kredit36PtFont;

	M3DrawRect(3, 120, 23, 17, BLUE);

	M3DrawASCII("The quick brown fox jumps over the lazy\ndog", 0, 0, terminal8Pt);
	M3DrawASCII("The quick brown fox\njumps over the lazy dog", 0, 46, oldEnglishTextMT14Pt);

	while(1);
	return 0;
}
